package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.SPU;
import cn.tedu.csmall.product.pojo.vo.SPUFullInfoVO;
import cn.tedu.csmall.product.pojo.vo.SPUListItemVO;
import cn.tedu.csmall.product.pojo.vo.SPUStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SPUMapper extends BaseMapper<SPU> {

    List<SPUListItemVO> list();

    SPUStandardVO getStandardById(Long id);

    SPUFullInfoVO selectFullInfoById(Long id);
}
